package org.durandj.ystream.server.message;

/**
 * This is thrown when a message handler receives a message that does
 * not contain any contents or contains invalid contents.
 * 
 * @author durandj
 * @version 1.0
 *
 */
public class InvalidMessageContentsException extends RuntimeException
{
	private static final long serialVersionUID = 2616807757623020906L;
	
	/**
	 * Generates an exception with no message.
	 */
	public InvalidMessageContentsException()
	{
		super();
	}
	
	/**
	 * Generates an exception with the specified message.
	 * 
	 * @param errorString - the error string
	 */
	public InvalidMessageContentsException(String errorString)
	{
		super(errorString);
	}
}

